package com.yjt.sousou.detail.entity;

import com.yjt.sousou.base.BaseEntity;

import java.util.List;

/**
 * @author chs
 * date：2019-10-29 17:31
 * des：配件种类
 */
public class KindEntity extends BaseEntity {
    /**
     * number : 12
     * state : Success
     * returncode : 0
     * sql : SELECT id,type FROM type  where 1
     * data : [{"id":"48","type":"弱电通讯耗材"},{"id":"47","type":"电"},{"id":"46","type":"水"},{"id":"44","type":"工具"},{"id":"43","type":"计算机配件"},{"id":"49","type":"维修配件"},{"id":"822","type":"弱电通讯设备"},{"id":"808","type":"消防"},{"id":"810","type":"螺丝钉类"},{"id":"814","type":"空调热水"},{"id":"818","type":"易耗品类"},{"id":"819","type":"装饰类"}]
     */

    private List<DataEntity> data;


    public List<DataEntity> getData() {
        return data;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public static class DataEntity {
        /**
         * id : 48
         * type : 弱电通讯耗材
         */

        private String id;
        private String type;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }
    }
}
